package com.toycloud.business.domain.dto;

import com.toycloud.business.domain.DemandConfig;
import com.toycloud.common.core.utils.bean.BeanUtils;
import com.toycloud.system.domain.feedback.FeedbackConfig;
import lombok.Data;

/**
 * @author hlchan
 * @version 1.0
 * @date 2024/9/29 10:05
 */
@Data
public class DemandConfigBrandDTO extends DemandConfig {
    private String pname;

    public DemandConfigBrandDTO(DemandConfig demandConfig, String pname){
        // 复制父类 FeedbackConfig 的属性
        BeanUtils.copyProperties(demandConfig, this);
        this.pname = pname;
    }

    public DemandConfigBrandDTO(){
    }
}
